
import request from "@/api/request";
import {type TokenRequest} from "@/api/types";

const createToken = (tokenRequest: TokenRequest): Promise<string> => {
    return request.post("/token", tokenRequest);
};

export default {
    createToken,
}